export default {
  name: [
    { required: true, message: '请输入名称', trigger: 'blur' }
  ],
  type: [
    { required: true, message: '请选择仓库类型', trigger: 'blur' }
  ],
  personName: [
    { required: true, message: '请输入负责人', trigger: 'blur' }
  ],
  phone: [
    { required: true, message: '请输入联系电话', trigger: 'blur' },
    { pattern: /^1[3-9][0-9]{9}$/, message: '请输入正确手机号', trigger: 'blur' }
  ],
  surface: [
    { required: true, message: '请输入仓库面积', trigger: 'blur' }
  ],
  address: [
    { required: true, message: '请输入详细地址', trigger: 'blur' }
  ],
  status: [
    { required: true, message: '请选择仓库状态', trigger: 'blur' }
  ],
  location: [
    { required: true, message: '请选择仓库位置', trigger: 'blur' }
  ],
  code: [
    { required: true, message: '请输入货品编码', trigger: 'blur' }
  ],
  goodsTypeId: [
    { required: true, message: '请选择货品类型', trigger: 'blur' }
  ],
  barCode: [
    { required: true, message: '请输入货品条码', trigger: 'blur' }
  ],
  ownerId: [
    { required: true, message: '请选择货主', trigger: 'blur' }
  ],
  inspectionType: [
    { required: true, message: '请选择质检方式', trigger: 'blur' }
  ],
  temperatureType: [
    { required: true, message: '请选择温度要求', trigger: 'blur' }
  ],
  bearingType: [
    { required: true, message: '请选择承重要求', trigger: 'blur' }
  ],
  useType: [
    { required: true, message: '请选择用途属性', trigger: 'blur' }
  ],
  volume: [
    { required: true, message: '请输入体积', trigger: 'blur' }
  ],
  maxVolume: [
    { required: true, message: '请输入承载体积', trigger: 'blur' }
  ]

}
